<?php
$this->breadcrumbs=array(
	$model->title,	
);
$this->pageTitle = $model->seotool->title . ' | Mạng xã hội sự kiện nexttopevent';
$this->pageDescription = $model->seotool->description;
$this->pageKeywords = $model->seotool->keywords;
$this->pageCanonical = array('/Events/categories/view', array('url'=>$model->url));
$this->pageRobotsFollow = 'follow';

$this->pageFacebook=array(
    'og:title'=>$model->seotool->title,
    'og:author'=>SITE_AUTHOR,
    'og:type'=>'article',
    'og:image'=>'nte.jpg',
    'og:url'=>array('/Events/categories/view', array('url'=>$model->url)),
    'og:description'=>$model->seotool->description,
    'og:locale'=>'vi_VN',
);
?>
<!-- Docs Top Events Slider -->
<?php $this->widget('TopSlider'); ?>
<!-- Docs Main Content -->
<div class="row">
    <div class="col-xs-2 col-left">
        <!-- Docs Categories -->
        <article class="event-categories">
        	<h3>Danh mục</h3>
            <nav class="nav-categories">
            <?php $this->widget('zii.widgets.CMenu', array(
				'items'=>$categories,
				'submenuHtmlOptions'=>array('class'=>'nav-sub'),
			)); ?>
            </nav>
        </article>
        <!-- Docs Advance Search -->
        <?php $this->widget('Search'); ?>
        <!-- Docs Support -->
        <?php $this->widget('Support'); ?>
    </div>
    <div class="col-xs-7 col-middle">
    	<div class="event-header">
        	<div class="row">
                <div class="col-xs-12">
                    <h1>Sự kiện mục: <?php echo $model->title; ?></h1>
                </div>
            </div>
        </div>
		<?php $this->renderPartial('_listEvent', array('dataProvider'=>$dataProvider)); ?>
    </div>
    <div class="col-xs-3 col-right">
        <!-- Docs Calendar -->
        <?php $this->widget('Calendar'); ?>
        <!-- Docs Events Popular -->
        <?php $this->widget('EventPopular'); ?>
        <!-- Docs News -->
        <?php $this->widget('NewsPopular'); ?>
        <!-- Docs Activities -->
        <?php $this->widget('Activities'); ?>
    </div>
</div>
